from django.contrib import admin
from stock.models import * 
from mptt.admin import MPTTModelAdmin

class ProductAdmin(admin.ModelAdmin):
    fields=['name','productType','created','modified']

admin.site.register(Product, ProductAdmin)

class ProductTypeAdmin(MPTTModelAdmin): pass
admin.site.register(ProductType, ProductTypeAdmin)
